import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {name:'index', path:'/', component:()=>import("../views/Index"), meta:{title:"GAI周延的个人主页"}}, 
  {name:'play', path:'/play', component:()=>import("../views/Play"), meta:{title:"正在播放"}},
  {name:'music', path:'/music', component:()=>import("../views/Music"), meta:{title:"音乐"}},
  {name:'album', path:'/album', component:()=>import("../views/Detail"), meta:{title:"专辑详情"}},
  {name:'interview', path:'/interview', component:()=>import("../views/Interview"), meta:{title:"专访"}},
  {name:'video', path:'/video', component:()=>import("../views/Video"), meta:{title:"影视"}},

]

const router = new VueRouter({
  routes,
  mode: 'history',
})

export default router
